package com.wy.campus.model;

/**
 * Created by wy on 2017/11/22.
 */
/**
 *
 *  Room room = new Room();
 room.setSchoolid(151);
 room.setRoomname(rs.getString("JSH"));//教室名
 room.setRoomtype(rs.getString("JSYT"));//教室类型
 room.setXn("2016-2017");
 room.setXq("2");
 room.setDivisionname(rs.getString("XQMC"));//校区名
 room.setDivisionid(Integer.parseInt(xqid));
 room.setBuildingname(rs.getString("JXLMC"));//教学楼名
 room.setBuildingid(Integer.parseInt(jxlh));
 room.setHasseat(null==rs.getString("YXZWS")?null:Integer.parseInt(rs.getString("YXZWS")));//上课座位数
 room.setExamseat(null==rs.getString("KSZWS")
 * */
public class Room {
    private int schoolid;
    private String roomname;
    private String roomtype;
    private String xn;
    private String xq;
    private String divisionname;
    private int divisionid;
    private String buildingname;
    private int buildingid;
    private int hasseat;
    private int examseat;
    private String usedate;

    public String getUsedate() {
        return usedate;
    }

    public void setUsedate(String usedate) {
        this.usedate = usedate;
    }

    public int getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(int schooldid) {
        this.schoolid = schooldid;
    }

    public String getRoomname() {
        return roomname;
    }

    public void setRoomname(String roomname) {
        this.roomname = roomname;
    }

    public String getRoomtype() {
        return roomtype;
    }

    public void setRoomtype(String roomtype) {
        this.roomtype = roomtype;
    }

    public String getXn() {
        return xn;
    }

    public void setXn(String xn) {
        this.xn = xn;
    }

    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    public String getDivisionname() {
        return divisionname;
    }

    public void setDivisionname(String divisionname) {
        this.divisionname = divisionname;
    }



    public String getBuildingname() {
        return buildingname;
    }

    public void setBuildingname(String buildingname) {
        this.buildingname = buildingname;
    }

    public int getDivisionid() {
        return divisionid;
    }

    public void setDivisionid(int divisionid) {
        this.divisionid = divisionid;
    }

    public int getBuildingid() {
        return buildingid;
    }

    public void setBuildingid(int buildingid) {
        this.buildingid = buildingid;
    }

    public int getHasseat() {
        return hasseat;
    }

    public void setHasseat(int hasseat) {
        this.hasseat = hasseat;
    }

    public int getExamseat() {
        return examseat;
    }

    public void setExamseat(int examseat) {
        this.examseat = examseat;
    }
}
